package org.example.util.file;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

/**
 * @author: ZhangMingmin
 * @since: 2025-03-28 16:06
 * @description:
 */
public class FileConverter {

    /**
     * 字节数组 转 InputStream
     * 
     * @param data byte[]
     * @return InputStream
     */
    public static InputStream byteToInputStream(byte[] data) {
        return new ByteArrayInputStream(data);
    }
}
